package com.aaa.ssm.service;

import com.aaa.ssm.entity.Season;

import com.aaa.ssm.util.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SeasonService {
    List<Season> queryAll();

    /**
     * 根据编号查询
     * @param page
     * @return
     */
    PageInfo queryPage(Page<Season> page);
    int add(Season season);
    int update(Season season);
    int deleteById(int code);
}
